import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;

public class Test {
//    BinaryTree.TreeNode A = new BinaryTree.TreeNode('A');
//    BinaryTree.TreeNode B = new BinaryTree.TreeNode('B');
//    BinaryTree.TreeNode C = new BinaryTree.TreeNode('C');
//    BinaryTree.TreeNode D = new BinaryTree.TreeNode('D');
//    BinaryTree.TreeNode E = new BinaryTree.TreeNode('E');
//    BinaryTree.TreeNode F = new BinaryTree.TreeNode('F');
//    BinaryTree.TreeNode G = new BinaryTree.TreeNode('G');
//    BinaryTree.TreeNode H = new BinaryTree.TreeNode('H');
    public static void main(String[] args) throws Exception {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode tree = binaryTree.createTree();
        binaryTree.levelOrder(tree);
        System.out.println(binaryTree.isCompleteTree1(tree));
        System.out.println(binaryTree.isCompleteTree(tree));
//        System.out.println(binaryTree.isCompleteTree(tree));
//        ArrayList<String> strings = new ArrayList<>();
//        strings.add(null);
//        System.out.println(strings.get(0));

    }
}
